package com.zeng.excel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zeng.excel.model.UserBase;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//*注：这里面继承了mybatis-plus的BaseMapper接口，供后面进行分页查询使用。*
@Mapper
public interface UserBaseMapper extends BaseMapper<UserBase> {

    int deleteByPrimaryKey(Integer id);

    int insertAll(UserBase record);

    void insertSelective(@Param("list") List<UserBase> list);

    UserBase selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserBase record);

    int updateByPrimaryKey(UserBase record);

    Integer countNum();
}

